﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    ///<summary>
    ///日志表
    ///</summary>
    [SugarTable("DBO.t_Log")]
    public partial class t_Log
    {
        public t_Log()
        {


        }
        /// <summary>
        /// Desc:主键Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:日志类型
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int LogType { get; set; }

        /// <summary>
        /// Desc:操作类型：0-其他；1-登录；2-退出；3-访问；4-新增；5-删除；6-修改；7-提交；8-审核通过；9-审核拒绝；
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ActionType { get; set; }

        /// <summary>
        /// Desc:记录类型
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RecordType { get; set; }

        /// <summary>
        /// Desc:记录Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RecordId { get; set; }

        /// <summary>
        /// Desc:操作用户名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? UserName { get; set; }

        /// <summary>
        /// Desc:操作用户真实姓名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? RealName { get; set; }

        /// <summary>
        /// Desc:日志模块
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ModuleName { get; set; }

        /// <summary>
        /// Desc:日志描述
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Description { get; set; }

        /// <summary>
        /// Desc:IP地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? IPAddress { get; set; }

        /// <summary>
        /// Desc:IP所在地
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? IpAddressName { get; set; }

        /// <summary>
        /// Desc:状态
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Status { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? UserId { get; set; }

        /// <summary>
        /// Desc:用户备注
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? UserRemark { get; set; }

    }
}
